package com.gengzi.item.api;



import com.gengzi.item.pojo.Brand;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;



/**
 * @author 董诗攀
 */
@RequestMapping("brand")
public interface BrandApi {
    /**
     *根据id查询品牌
     * @param id 品牌id
     * @return 品牌对象
     */
    @GetMapping("{id}")
    Brand queryBrandById(@PathVariable("id") Long id);
}

